package org.star.dolphin.domain;

import lombok.Data;

import java.io.InputStream;

@Data
public class Email {

    //接收者
    private String[] to;

    //抄送
    private String[] cc;

    //主题
    private String subject;

    //内容
    private String text;

    //附件
    private String fileName;

    private InputStream is;

    public Email() {
    }

    public Email(String[] to, String subject, String text) {
        this.to = to;
        this.subject = subject;
        this.text = text;
    }
}
